<!--[*
// ----------------------------------------------------------------------
// Source file:  $Source: /cvsroot/pn-commerce/pn-commerce/pntemplates/pncommerce_admin_templateedit.html,v $
//
// Last changes from:  $Author: landseer $
//
// Revision:           $Revision: 1.17 $
//
// Date of revision    $Date: 2005/03/22 11:47:34 $
//
// ----------------------------------------------------------------------
*]-->

<!--[include file='pncommerce_admin_commonHeader.html']-->

<fieldset>
    <legend>
        <!--[pnml name='_PNC_TEMPLATES' html=1 ]-->&nbsp; <a <!--[pncManualURL Chapter="401" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
    </legend>
    <p align='center'>
    <form action='<!--[ pncAdminModURL func=templateedit ]-->' method='post'>
     <!--IMPORTANT!-->
    <input type="hidden" name="authid" value="<!--[pnsecgenauthkey module="pncommerce"]-->">
    <input type='hidden' name='TemplateID' value=<!--[ $Template.ID ]--> >
    <div class="adminrow">
        <div class="admincell33">
            <!--[ pnml name='_PNC_TEMPLATEID' ]-->: 
        </div>
        <div class="admincell66">
            <!--[if $Template.ID==-1 ]-->
            <!--[ pnml name='_PNC_TEMPLATEIDNOTAVAILABLE' ]-->
            <!--[ else ]-->
            <!--[ $Template.ID ]-->
            <!--[/if]-->
        </div>
    </div>
    <div class="adminrow">
        <div class="admincell33">
            <!--[ pnml name='_PNC_TEMPLATEDESC' ]-->: 
        </div>
        <div class="admincell66">
            <input type='text' size='70' name='TemplateDesc' value='<!--[ $Template.Desc ]-->'>
        </div>
    </div>
    <div class="adminrow">
        <div class="admincell33">
            <!--[ pnml name='_PNC_TEMPLATETYPE' ]-->: 
        </div>
        <div class="admincell66">
            <select name="TemplateType">
            <!--[html_options options=$TemplateList selected=$Template.Type ]-->
            </select>
        </div>
    </div>
    <div class="adminrow">
        <div class="admincell33">
            <!--[ pnml name='_PNC_TEMPLATETEXT' ]-->: 
        </div>
        <div class="admincell66">
            <input type='text' size='70' name='TemplateFile' value='<!--[ $Template.Text ]-->'>
        </div>
    </div>
    <!--[ if $Template.ID neq -1 ]-->
    <div class="adminrow">
        <div class="admincell33">
            <!--[ pnml name='_PNC_REMOVETEMPLATE' html=1]-->
        </div>
        <div class="admincell66">
            <input type='checkbox' name='delete' value='1'>
        </div>
    </div>
    <!--[ /if ]-->
    <div class="adminrow">
        <div class="admincell33">
            &nbsp;
        </div>
        <div class="admincell66">
            <input class='pn-button' type='submit' name='Submit' value='<!--[ pnml name='_PNC_SUBMIT' ]-->' >
        </div>
    </div>
    </form>
</fieldset>

<!--[include file='pncommerce_admin_commonFooter.html']-->